<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="c" uri="jstl"%>
<jsp:include page="Templates/metas.jsp" />
<div>

	<div id="contacto" class="lb lbSmall">
		<h3>CONTAC US</h3>
		<p class="txt_center">
			Use this application to contact us, <br>
			we will respond as soon as possible.
		</p>
		<div class="txt_red">
			<br><html:errors/><br>
		</div>
		<form action="addContacto.do" method="post">
			<table class="tab_form">
				<tr>
					<td align="right" width="26%"><span class="txt_red">*</span>Name:</td>
					<td>
						<input type="text" name="nombre" class="txt_input" size="26" value="${nombre }">
						<input type="hidden" name="sendContact" value="1">
					</td>
				</tr>
				<tr>
					<td align="right"><span class="txt_red">*</span>E-mail:</td>
					<td><input type="text" name="email" class="txt_input" size="26" value="${email }"></td>
				</tr>
				<tr>
					<td align="right"><span class="txt_red">*</span>Subject:</td>
					<td><input type="text" name="asunto" class="txt_input" size="26" value="${asunto }"></td>
				</tr>
				<tr>
					<td align="right"><span class="txt_red">*</span>Suggestions and comments:</td>
					<td><textarea class="txt_input" name="sugerencia" cols="28" rows="5">${sugerencia }</textarea></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="image"
						src="img/btn_enviarMiniEng.png"></td>
				</tr>
			</table>
		</form>		
		<p class="txt_center">You can also call us toll free: <span class="txt_blue"><b>01 800</b></span> 2492400</p>
		<c:choose>
			<c:when test="${R eq 1}">
				<p class="mensajeOk">
					<img alt="icoOk" src="img/icoOk.png"> Message sent
			    </p>				
			</c:when>
			<c:when test="${R eq 2}">
				<p class="mensajeError">
					<img alt="icoError" src="img/icoError.png"> Message not sent
				</p>
			</c:when>
			<c:otherwise>
				&nbsp;
			</c:otherwise>
		</c:choose>		
		
	</div>
	<!-- /contacto -->

</div>